package com.wangdao.wechatmall.bean.vo.admin;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * KeyWordRespVO
 * created by feng on 7/9/21
 */
@NoArgsConstructor
@Data
public class KeyWordRespVO {

    @JsonProperty("id")
    private Integer id;
    @JsonProperty("keyword")
    private String keyword;
    @JsonProperty("url")
    private String url;
    @JsonProperty("isHot")
    private Boolean isHot;
    @JsonProperty("isDefault")
    private Boolean isDefault;
    @JsonProperty("addTime")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;
    @JsonProperty("updateTime")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}